﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZK.Common.Log4
{
    public static class LogManage
    {
        /// <summary>
        /// 写日志err
        /// </summary>
        /// <param name="str"></param>
        public static void WriteErr(string str)
        {
            Log4NetFile.Err(str);
        }
        /// <summary>
        ///  写日志info
        /// </summary>
        /// <param name="str"></param>
        public static void WriteInfo(string str)
        {
            Log4NetFile.Info(str);
        }
        /// <summary>
        ///  写日志warn
        /// </summary>
        /// <param name="str"></param>
        public static void WriteWarn(string str)
        {
            Log4NetFile.Warn(str);
        }

        /// <summary>
        ///  debug
        /// </summary>
        /// <param name="str"></param>
        public static void WriteDebug(string str)
        {
            Log4NetFile.Debug(str);
        }
    }
}
